package com.xxh.myapp.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (Score)表实体类
 *
 * @author makejava
 * @since 2020-05-01 16:37:44
 */
@SuppressWarnings("serial")
public class Score extends Model<Score> {
    @TableId
    private Integer sno;
    @TableId
    private Integer cno;
    
    private Integer grade;


    public Integer getSno() {
        return sno;
    }

    public void setSno(Integer sno) {
        this.sno = sno;
    }

    public Integer getCno() {
        return cno;
    }

    public void setCno(Integer cno) {
        this.cno = cno;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.sno;
    }
    }